| Required Class Files:
wwjba.class, vInTag.class, RHTML.class, PParse.class,
ocsb.class, LoParse.class, HTMLFont.class, DImage.class Notice Tag: "Web Window - JBA, (c) 1997, OpenCube Technologies, Registered (Unique Key ID#)" |
Notes Regarding This Applet
Note: In an attempt to keep the size of this applet as small as possible there is a minimal amount of error checking employed. This will not affect the applet once it is running, however, during design time certain page layouts or inaccurately defined parameters and HTML tags may cause the applet to load incorrectly or fail to load at all. If this is the case double check your HTML tags and parameters or try using an alternative page layout. (note: Microsoft Front Page or a Similar Web Authoring Program is recommended for the design of pages used with the Web Window Browser)
Note: This applet only recognizes information between paragraph tags. Text and images not enclosed by the start paragraph tag (<p>) and the end paragraph tag (</p?) will not be displayed. See below for a complete list of all the HTML tags supported.
Information about the applet and its parameters
Required Parameters
Parameter 1 (the "notice" tag) must be included in the applet tag in order for the applet to work. Most of the parameters will default if you fail to define them, at a minimum you must include the notice tag and a URL for the start page with "splocation". Usually the easiest way to customize the applet is cut and paste the applet tag information used in the sample and modify it to fit your web page.
Defining Colors
This applet uses a simple Hexadecimal color definition scheme like the one used to define colors in web pages. To define a color using a hexadecimal value in the parameters use a 6 digit hex value in the rage of 000000 - FFFFFF (e.g. FFFFFF is equal to the color White). To define a color in the HTML tags you may use just the six digit hex value or the six digit hex value proceeded by a pound sign.
Note: A hex color defined in one of the applet parameters proceeded by a pound sign will generate an error, please use the 6 digit hex value only.
Supported HTML Tags
The Web Window Browser applet supports all the standard font, image, and link tags, as well as the title, body and paragraph tag. Tags defining bulleted lists, pre formatted paragraphs, or tables are ignored by the parser and may generate errors. For fast development of your pages, a popular web page editor such as FrontPage or HotMetal Pro will generate pages supported by the Web Window Browser as long as the design uses normal paragraph blocks of text (<p> tag).
Below is a list of the standard and extended tags supported by the Web Window Browser:
Paragraph Tag:
<p align="x"> Defines a
paragraph block of text only, text and images, or images only.
align values are LEFT, CENTER, or RIGHT. End all paragraph blocks
with </p>
Font Tag:
<font face="X"
color="#000000-FFFFFF" size="X"> Web
Window supports the nesting of font tags. The face value defines
the font name (approximate conversions between standard font
names and Java fonts is automatic) To specifically define a Java
font, name the font using Helvetica, TimesRoman, or Courier,
Note: the Java font names are case sensitive. The size value is
in the range of 1-7 and corresponds to the following actual Java
font sizes:
1= Point Size 10
2= Point Size 12
3= Point Size 14
4= Point Size 18
5= Point Size 24
6= Point Size 36
7= Point Size 48
To specifically define a size use any value greater than 7. The color tag takes a hexadecimal color value as described above in Defining Colors. End all font definitions with </font>
Bold Tags:
<strong> or <b> Bold tags
may be nested, end all bold tags with </b> or
</strong>
Italic Tag:
<em> Italic tags may be nested,
end all italic tags with </em>
Underline Tag:
<u> Underline tags may be nested, end all
underline tags with </u>
Line Break
Tag:
<br> The line break tag forces the text to
wrap to the next line, no end tag is defined for the line break
tag
Hyperlink Tag:
<a href="X" where="X"
color="X", hcolor="X"> Hyperlink
tags define a URL link to other pages. The tag may span images
and text of different sizes, styles, etc. href defines the page
location to load whether it be outside the applet or within the
applet. Pages within the applet should be defined as a relative
link from the applets start page. (e.g. for another page in the
same folder use the name of the file only such as myfile.htm).
Pages to be loaded outside the applet must be defined as a
relative link from the location of the HTML document containing
the applet itself.
Below are the constants used with the extended where tag.
"applet"
loads the page within the applet
"_self"
show in the current frame
"_parent" show in the parent frame
"_top" show in the top-most frame
"_blank" show in a new unnamed
top-level window outside the applet
"name" show in a new top-level window
named name outside the applet
The "applet" tag is not required to tell the links to load within the applet as it is the default value. Color defines the color of the link, hcolor defines the highlight color as the mouse moves over the text link. end all hyperlink tags with </a>
Image Tag:
<img src="X", align="X",
width="X", height="X"> scr
defines URL location of the image to load relative to the applets
start page. align defines how the image should be aligned
relative to its surrounding text, LEFT, RIGHT, and BOTTOM are
supported. A value of LEFT or RIGHT causes the text to wrap
around the image, if the text is not wrapping appropriately try
moving the image tag to different areas within the text. width
defines the width of the image and must equal the images actual
width, height defines the height of the image and must equal the
images actual height. There is no ending tag for images.
Note: You must define a width and height value for each image tag which defines the correct dimensions of the image.
Title Tag:
<TITLE> Text between the title
start tag and title end tag is used in the status bar of the web
browser to identify the current page. The title tag must end with
</TITLE>
Body Tag:
<body bgcolor="#00000-#FFFFFF"
text="#000000-FFFFFF" link="#000000-FFFFFF"
hlcolor="#000000-FFFFFF" leftmargin="X"
topmargin="X" transition="0,3,4,5, or 6"> The
body tag is used once for each page and identifies the properties
of the document. bgcolor is the background color of the page
defined in hexadecimal. text is the default color for text and is
defined in hexadecimal. link is the default color for links on
the page and is defined in hexadecimal. hlcolor is the default
highlight color when the mouse is over a link, defined in
hexadecimal. leftmargin defines the left and right margin widths.
topmargin defines the top and bottom margin widths. transition
defines the animation transition upon loading the page as
follows...
0 = no animation
transition
3 = animate from top to bottom
4 = animate from right to left
5 = animate from bottom to top
6 = animate from left to right
The Applet Parameters
The Applet
Parameter 1
Attribute: Copyright notice.
param name="Notice"
value="Web Window - JBA, (c) 1997, OpenCube Technologies,
Registered (Unique Key ID#)"
Note: This must be included for the applet to work.
Parameter 2
Attribute: Start Page Location
param name = "splocation"
value="X", where X is the fully qualified URL location
of the initial page to load
Parameter 3
Attribute: Highlight Underlines
param name = "hlunderlines"
value=true or false. When true the text and underline are
highlighted, When false the text only is highlighted.
DEFAULT: TRUE
Parameter 4
Attribute: Initial Loading Applet Message
param name = "initmessage"
value=X, Where X is the message to be displayed when the applet
is initially loading.
DEFAULT: "Loading Class Files & Initial HTML Page"
Parameter 5
Attribute: Initial Message Color
param name= "initmessagecolorr"
Value=#000000 - #FFFFFF - See above for more information on
defining colors.
DEFAULT: Black
Parameter 6
Attribute: Transition Effect Jump Size
param name= "transition jump size"
Value=X, Where X is the distance in screen pixels for each frame
of a transition effect to jump. The higher the jump the faster
the effect.
DEFAULT: 2
The Scroll Bar
Parameter 7
Attribute: Scroll Bar Line Increment Value
param name= "barlinejump"
Value=X, Where X is the value to increment in screen pixels when
the line increment buttons are pressed (up arrow or down arrow).
Note: In Netscape this value also effects how smooth the the
applet will scroll when dragging the bubble (page position
indicator located between line increment buttons). The page up
and page down values are automatically detected (used when the
user presses between the bubble and a line increment button).
DEFAULT: 5
Parameter 8
Attribute: Scroll Bar Background Color
param name= "barbgcolor"
Value=r,g,b or #000000 - #FFFFFF - See above for more information
on defining colors.
DEFAULT: Black
Parameter 9
Attribute: Scroll Bar Button Face Colors
param name= "barbuttoncolor"
Value=r,g,b or #000000 - #FFFFFF - See above for more information
on defining colors.
DEFAULT: Light Gray
Parameter 10
Attribute: Scroll Bar Arrow Color
param name= "bararrowcolor"
Value=r,g,b or #000000 - #FFFFFF - See above for more information
on defining colors.
DEFAULT: Black
Parameter 11
Attribute: Scroll Bar Arrow Highlight Color
param name= "bararrowhcolor"
Value=r,g,b or #000000 - #FFFFFF - See above for more information
on defining colors. The bar arrow highlight color is the arrow
color that will appear as the mouse moves over an up or down
button
DEFAULT: Yellow
Parameter 12
Attribute: Scroll Bar Slider Color
param name= "barslidecolor"
Value=r,g,b or #000000 - #FFFFFF - See above for more information
on defining colors. The slider is the colored bar between the top
and bottom buttons.
DEFAULT: Black
Parameter 13
Attribute: Scroll Bar Slider Outline Color
param name= "barbgcolor"
Value=r,g,b or #000000 - #FFFFFF - See above for more information
on defining colors.
DEFAULT: Black
Parameter 14
Attribute: Scroll Bar Slider Inset Value
param name= "barslideinset"
Value = X, Where X is the distance from the edges that the slide
bar should be inset.
DEFAULT: 2
Parameter 15
Attribute: Scroll Bar Width
param name= "barwidth"
Value = X, Where X is the width of the scroll bar. Note the
buttons and slider will automatically adjust to the set width.
DEFAULT: 14
Smooth Scrolling
Parameter 16
Attribute: Use Smooth Scrolling
param name= "smoothscrolling"
Value=true or false, true = yes turn smooth scrolling on, false =
do not use smooth scrolling. Note: Smooth scrolling creates an
animation scroll transition when the scrollbar moves the page to
a new position. The relative speed of the transition can be
manipulated with the "smoothjump" parameter. When set
to false the page simple moves without any special effect to the
new position.
DEFAULT: False
Parameter 17
Attribute: Smooth Scrolling Jump Value
param name= "smoothjump"
Value = X, Where X is the distance in screen pixels for each
frame of the smooth scrolling animation effect. Note: The lowest
possible number, 1, creates the smoothest animation, however
takes the longest to transition, the higher the value the faster
the effect, hence the choppier the scroll. Watch that this value
does not exceed your "barlinejump" parameter value,
exceeding this value may cause the page to scroll inappropriately
when the line increment buttons are pressed.
DEFAULT: 2
The Pop Up Description Boxes
Parameter 18
Attribute: Use Pop Up URLS with Images Links
param name = "popupurls"
value=true or false. When true a box describing an images URL
link appears as the mouse moves over the image.
DEFAULT: TRUE
Parameter 19
Attribute: Pop Up Color
param name= "popupcolor"
Value=#000000 - #FFFFFF - See above for more information on
defining colors.
DEFAULT: Yellow
Parameter 20
Attribute: Pop Up Outline Color
param name= "popupoutlinecolor"
Value=#000000 - #FFFFFF - See above for more information on
defining colors.
DEFAULT: Black
Parameter 21
Attribute: Pop Up Text Color
param name= "popuptextcolor"
Value= #000000 - #FFFFFF - See above for more information on
defining colors.
DEFAULT: Black
Parameter 22
Attribute: Pop Up Text Size
param name="deffontsize"
value="X", where X is the text size to use for the pop
up messages
DEFAULT: 10
HTML Page Format Defaults
Parameter 23
Attribute: Default and Initial Background Color
param name= "defbgcolor"
Value=#000000 - #FFFFFF - See above for more information on
defining colors. Note: this is used for defining the initial
background color and the default background color for all pages
when a specific color is not defined within a page.
DEFAULT: WHITE
Parameter 24
Attribute: Default Link Color
param name= "deflinkcolor"
Value= #000000 - #FFFFFF - See above for more information on
defining colors.
DEFAULT: Blue
Parameter 25
Attribute: Default Highlight Color
param name= "defhlcolor"
Value=#000000 - #FFFFFF - See above for more information on
defining colors.
DEFAULT: Red
Parameter 26
Attribute: Default Text Color
param name= "deftextcolor"
Value=#000000 - #FFFFFF - See above for more information on
defining colors.
DEFAULT: Red
Parameter 27
Attribute: Default HTML Font Size
param name="deffontsize"
value="X", where X is the default size of all message
fonts.
DEFAULT: 3 (Point Size 14)
Web Window Browser, © 1997, OpenCube Technologies